//===============================================================================
// Microsoft patterns & practices
// Guidance Explorer Offline Client
//===============================================================================
// Copyright  Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================



using System;
using System.Collections.Generic;
using GuidanceExplorer.Controls;

namespace GuidanceExplorer.Views
{

    public class ItemDropOperationEventArgs<T,U> : EventArgs
    {
        private List<T> _dragItems;
        private ModelNode<U> _dropNode;

        public ItemDropOperationEventArgs(List<T> dragItems, ModelNode<U> dropNode)
        {
            _dragItems = dragItems;
            _dropNode = dropNode;
        }

        public List<T> DragItems
        {
            get { return _dragItems; }
        }

        public ModelNode<U> DropNode
        {
            get { return _dropNode; }
        }

        public U DropModelInstance
        {
            get { return _dropNode.ModelInstance; }
        }
    }

}

